package com.cax.module.enterprise.domain;


import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 企业证书表 实体
 * @author makejava
 * @date 2024-08-22 17:25:18
 */
@Data
@Accessors(chain = true)
@TableName("enterprise_certificate")
@ApiModel(value = "EnterpriseCertificate", description = "企业证书表")
public class EnterpriseCertificate extends Model<EnterpriseCertificate> implements Serializable {
	private static final long serialVersionUID = -44348473015050910L;

    @ApiModelProperty(value = "企业证书表-主键id")
	@TableId(value = "id", type = IdType.AUTO)
    private Integer id;

	@ApiModelProperty(value = "企业名称")
	@TableField("`name`")
    private String name;

	@ApiModelProperty(value = "企业地址")
	@TableField("`addr`")
    private String addr;

	@ApiModelProperty(value = "证书等级")
	@TableField("`grade`")
    private String grade;

	@ApiModelProperty(value = "证书编号")
	@TableField("`num`")
    private String num;

	@ApiModelProperty(value = "备注")
	@TableField("`remark`")
    private String remark;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("`create_time`")
    private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField("`update_time`")
    private LocalDateTime updateTime;

	@TableField("`delete_flag`")
    private Integer deleteFlag;

}

